<template>
  <div>编辑页面</div>
</template>

<script>
import { getGoodsInfo } from "../../../request/api";
export default {
  data() {
    return {};
  },
  created() {
    console.log(this.$route.params.id);
    getGoodsInfo({ id: this.$route.params.id }).then((res) => {
      console.log(res);
    });
  },
};
</script>
 
<style lang = "less" scoped>
</style>